package com.wysiwyg.admin.controller.system;

import com.wysiwyg.admin.model.dto.system.AdminMenuDTO;
import com.wysiwyg.admin.model.po.system.AdminMenuPO;
import com.wysiwyg.admin.service.AdminMenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @author wwcc
 * @date 2024/12/10 18:50:16
 */
@RestController
@RequestMapping("/system/menu")
public class AdminMenuController {

    @Autowired
    private AdminMenuService adminMenuService;

    @RequestMapping("/queryMenuPageInfo")
    public List<AdminMenuPO> queryMenuPageInfo(AdminMenuDTO adminMenuDTO){
        return adminMenuService.query().select().list();
    }

}
